﻿@using xConnected.Common.ExpertProfile
<div class="modal hide fade" id="WebsiteProfileDialog" style="display: none;" >
    <div class="modal-header">
    </div>
    <div class="modal-body" data-bind="with: workingProfileBuffer">
        <div class="row">
            <div class="control-group span6" data-bind="css: {'error': Website.isValid() == false }" >
                <label class="control-label" for="Website"><strong>@Resources.Website</strong></label>
                <div class="controls">
                    <input type="text" class="span4" data-bind="value: Website, valueUpdate: 'afterkeydown', executeOnEnter: $root.profile.okWebsite" tabindex="1" />
                    <span class="help-inline" data-bind="validationMessage: Website"></span>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.profile.okWebsite();}"><strong>@Resources.Ok</strong></a>
        <a href="#" class="btn btn-small" data-bind="click: function() { $root.profile.cancelWebsite();}"><strong>@Resources.Cancel</strong></a>
    </div>
</div>